package com.shop.service;

import com.shop.entity.UserBehavior;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author XCH
 * @date 2025 - 06 - 24
 */
public interface UserBehaviorService {
    List<UserBehavior> getUserBehaviorByUserId(Integer userId);
    List<UserBehavior> getProductIdAndActionType(Integer ProductId, Integer userId);
    void addUserBehavior(int userId, int productId, String actionType, String createTime);
    void deleteUserBehavior(Integer id);
    void updateUserBehaviorByCreateTime(LocalDateTime createTime, Integer id);
}
